package Server.Message;

import java.util.ArrayList;

import Server.DataBase.Student;

public class MessageAssignStudentToClass extends Message{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int idClass;
	private ArrayList<Student> arrayAdd = null;
	private ArrayList<Student> arrayRemove = null;
	
	/**
	 * 
	 * @param arrayAdd
	 * @param arrayRemove
	 * @param idClass
	 */
	public MessageAssignStudentToClass(ArrayList<Student> arrayAdd, ArrayList<Student> arrayRemove, int idClass) {
		super(MessageType.MESSAGE_ASSIGN_STUDENT);
		this.arrayAdd = arrayAdd;
		this.arrayRemove = arrayRemove;
		this.idClass = idClass;
	}
	/***
	 * 
	 * @return
	 */
	public int getIdClass() {
		return idClass;
	}
/**
 * 
 * @param idClass
 */
	public void setIdClass(int idClass) {
		this.idClass = idClass;
	}
/**
 * 
 * @return
 */
	public ArrayList<Student> getArrayAdd() {
		return arrayAdd;
	}
/**
 * 
 * @param arrayAdd
 */
	public void setArrayAdd(ArrayList<Student> arrayAdd) {
		this.arrayAdd = arrayAdd;
	}

	public ArrayList<Student> getArrayRemove() {
		return arrayRemove;
	}

	public void setArrayRemove(ArrayList<Student> arrayRemove) {
		this.arrayRemove = arrayRemove;
	}	
}
